import request from '@/utils/request'

// 查询身份绑定列表
export function listTeacher_user(query) {
  return request({
    url: '/obtain/teacher_user/list',
    method: 'get',
    params: query
  })
}

// 查询身份绑定详细
export function getTeacher_user(id) {
  return request({
    url: '/obtain/teacher_user/' + id,
    method: 'get'
  })
}

// 新增身份绑定
export function addTeacher_user(data) {
  return request({
    url: '/obtain/teacher_user',
    method: 'post',
    data: data
  })
}

// 修改身份绑定
export function updateTeacher_user(data) {
  return request({
    url: '/obtain/teacher_user',
    method: 'put',
    data: data
  })
}

// 删除身份绑定
export function delTeacher_user(id) {
  return request({
    url: '/obtain/teacher_user/' + id,
    method: 'delete'
  })
}
